﻿<UserControl x:Class="SL_Drag_Drop.DragSourceContent"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="100" Height="100">
    <Grid x:Name="LayoutRoot"  Margin="5">
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <!--<LinearGradientBrush.RelativeTransform>
                    <TransformGroup>
                        <ScaleTransform CenterX="0.5" CenterY="0.5"/>
                        <SkewTransform CenterX="0.5" CenterY="0.5"/>
                        <RotateTransform Angle="90" CenterX="0.5" CenterY="0.5"/>
                        <TranslateTransform/>
                    </TransformGroup>
                </LinearGradientBrush.RelativeTransform>-->
                <GradientStop Color="#FFD83F00" Offset="0"/>
                <GradientStop Color="#FFF65E00" Offset="1"/>
            </LinearGradientBrush>
        </Grid.Background>

        <Image Source="Images/email.png" HorizontalAlignment="Center"
               VerticalAlignment="Center" Width="76" Height="76"></Image>
        
        <TextBlock TextWrapping="Wrap" FontSize="32" HorizontalAlignment="Center"
                   VerticalAlignment="Center" Foreground="Black" Opacity="0.7"
                   Margin="5" Text="{Binding DummyText}">
        	<!--<TextBlock.Foreground>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#FF62B5E1"/>
        			<GradientStop Color="#FF2152CB" Offset="1"/>
        		</LinearGradientBrush>
        	</TextBlock.Foreground>-->
        </TextBlock>
    </Grid>
</UserControl>
